package com.woniuxy.creditsystem.customermag.service;


import com.github.pagehelper.PageInfo;
import com.woniuxy.creditsystem.common.bean.CustomerInfo;
import com.woniuxy.creditsystem.common.bean.DtoCus;
import com.woniuxy.creditsystem.common.util.PageRest;

import java.util.List;

/**
 * @author ：zhengbin
 * @date ：Created in 2020/12/10
 * @description：客户表service
 * @modified By：
 * @version: 1.0v
 */
public interface ICustomerService {

  List<DtoCus> findAll();

  CustomerInfo findById(long id);

  int saveCustomer(CustomerInfo customerInfo );

  int updateCustomer(CustomerInfo customerInfo );

  PageInfo<DtoCus>  findByParams(PageRest req, DtoCus dtoCus);


    int updatestRemark(DtoCus dtoCus);

    int updatestatus(long id);
}
